package com.btkjgc.models;

/**
 * 专门用来返回Ajax处理之后结果json数据的对象
 * 
 * @author Administrator
 * 
 */
public class AjaxObj {
	/**
	 * false表示失败 true表示成功
	 */
	private boolean result;
	/**
	 * 提示信息
	 */
	private String msg;
	/**
	 * 附加对象，用来存储一些特定的返回信息
	 */
	private Object obj;
	/**
	 * 附加数据，用来存储一些特定的返回数据
	 */
	private Integer variable;
	
	public boolean isResult() {
		return result;
	}
	public void setResult(boolean result) {
		this.result = result;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	public Integer getVariable() {
		return variable;
	}
	public void setVariable(Integer variable) {
		this.variable = variable;
	}
 
	 

}
